package com.study.java.jinjie.jihe.ceshi;

public class Love {
    private String name;
    private int preference;
    public Love(String name, int preference) {
        this.name = name;
        this.preference = preference;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getPreference() {
        return preference;
    }
    public void setPreference(int preference) {
        this.preference = preference;
    }

}

